﻿using Estsh.Core.Model.Extend.Models;
using Estsh.Core.Models;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Estsh.Core.Model.Extend.IFModels
{
    /// <summary>
    /// 工种，数据实体对象
    /// </summary>
    [Table("SAP_WORKITEM")]
    [Serializable]
    public class SapWorkItem
    {
        /// <summary>
        /// 工种的唯一编码
        /// </summary>
        [Column("ITEMCODE")]
        [DisplayName(" ")]
        public string ItemCode { get; set; }

        /// <summary>
        /// 工种的小时名称
        /// </summary>
        [Column("ITEMNAME")]
        [DisplayName(" ")]
        public string ItemName { get; set; }
        /// <summary>
        /// 一小时工资
        /// </summary>
        [Column("HOURSALARY")]
        [DisplayName(" ")]
        public string HourSalary { get; set; }

        /// <summary>
        /// 工序切换时间
        /// </summary>
        [Column("STATIONCHANGE")]
        [DisplayName(" ")]
        public string StationChange { get; set; }

        /// <summary>
        /// 是否禁用Y:是N：否
        /// </summary>
        [Column("ENABLED")]
        [DisplayName(" ")]
        public string ENABLED { get; set; }

    }



}